# -*- coding: utf-8 -*-

import django_filters
from rest_framework import serializers, status
from django_filters.rest_framework import BooleanFilter
from core.serializers import CustomModelSerializer
from core.validator import CustomValidationError
from apps.sys.models import Config


class ConfigSerializer(CustomModelSerializer):
    """
    参数-序列化器
    """
    class Meta:
        model = Config
        fields = "__all__"
        read_only_fields = ["id"]
